package com.admin.task;

import java.sql.SQLException;
import java.util.*;

import com.base.service.ImageService;



/**功能：
 * 定时拉取上传图片 并打水印及重命名 部署为自运行的servlet
 * 
 * image: 
 * state=0 初始化   1：down 2：mark and remane
 */
public class PullImage {
	private ImageService is;

	
	public PullImage() throws Exception {
		is=ImageService.getInstance();
	}
	
	
	public void downAndMark() throws Exception{
		
		
	}
	
	
	
	
	
	public static void main(String[] args) throws Exception {
		// TODO Auto-generated method stub
		PullImage t=new PullImage();
//		t.sync();
//		t.syncTwo();

	}

}
